/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.barattando.bean;

import java.util.LinkedList;

/**
 *
 * @author carlo.bison
 */
public class Utente {
    
    private String nome;
    
    private String cognome;
    
    private String userName;
    
    private String pwd;
    
    private String email;
    
    private LinkedList<Oggetto> listaOggetti;
    
    public Utente(String userName,String pwd,String nome,String cognome,String email){
        
        this.userName = userName;
        this.pwd = pwd;
        this.nome = nome;
        this.cognome = cognome;
        this.email = email;
        
        
    }
    
    public String getUsername(){
        return this.userName;
    }
    
    public void addOggetto(Oggetto newOggetto){
        this.listaOggetti.add(newOggetto);
    }
    
    
    
}
